package model;

public class LogMsg {

	private LogLabel label;
	
	private String msg;
	
	private String timeStamp;
	
	public LogMsg(LogLabel label, String msg, String timeStamp) {
		
		this.label = label;
		this.msg = msg;
		this.timeStamp = timeStamp;
	}
	
	public LogLabel getLogLabel() {
		return label;
	}
	
	@Override
	public String toString() {
		return label.getCode() + " " + label.getString() + " " + msg + " " + timeStamp;
	}
	
	
}
